@extends('home.layout.base')
@section('styles')
    <style>
        .content{
            color: #636363;
        }
        .com-item {
            float: left;
            width: 100%;
            text-align: center;
            padding: 0 11px;
            margin-bottom: 40px;
        }
        .partner-logo{
            float: left;
        }
        .shop-02 h2{
            font-size: 28px;
        }
        .envor-sorting-filters span.factive{
            border-bottom: 2px solid #FDD001;
        }
        .envor-sorting-filters span.factive a{
            color: #FDD001;
        }
        .case-logo{
            height: 280px;overflow: hidden;
        }
        .case-logo img{
            min-height: 280px;
        }
        .com-item.case img {
            width: 158px;
            height: 75px;
        }
        .com-item .com-item-border {
            border-radius: 12px 12px 0 0;border:0px solid #706f6f;
        }
        .com-item-title{
            background: #666666;color: #fff;line-height: 36px;font-size: 16px;
        }
        .com-item {
            padding: 0;margin-bottom: 30px;border: 1px solid #706f6f;border-radius:12px;overflow: hidden;
        }
    </style>
@endsection
@section('scripts')
@endsection
@section('content')
    <section style="padding: 0">
        <img src="{{ asset('image/case01.png') }}" alt="" class="img_ct">
    </section>
    <div class="envor-sorting" id="portfolio-sorting">
        <div class="envor-sorting-filters" style="margin-top: 0px">
            <div class="container">
                <span><a href="{{ route('home.case.index') }}">富润ERP</a></span>
                <span><a href="{{ route('home.case.dms') }}">富润DMS</a></span>
                <span class="factive"><a href="{{ route('home.case.erp') }}">胜途ERP</a></span>
            </div>
        </div>
    </div>
    <section class="mp50" style="padding-bottom: 100px">
        <div class="container">
            <div class="shop-02">
                <h2 style="font-weight: 700;line-height:15px;font-size: 20px">经典案例</h2>
                <div class="col-lg-12 mp50">
                    @foreach($cases as $erp)
                        <div  class="col-lg-6">
                            <div class="case-logo">
                                <a href="{{ route('home.case.show',['id' => $erp['id']]) }}">
                                    <img src="{{ $erp['thumb'] }}" style="min-height:280px;min-width: 100%;" alt="" class="img_ct">
                                </a>
                            </div>
                        </div>
                    @endforeach
                </div>
            </div>
        </div>
    </section>
    <section class="mp50" style="padding-bottom: 100px">
        <div class="container">
            <div class="shop-02">
                <h2 style="font-weight: 700;line-height:15px;font-size: 20px">5000+飞速增长的跨境电商企业，共同选择胜途ERP</h2>
                <div class="col-lg-12 mp50">
                    @foreach($deputys as $deputy)
                        <div class="partner-logo col-lg-2">
                            <div class="com-item case">
                                <div class="com-item-border">
                                    <img src="{{ $deputy['thumb'] }}" alt="">
                                </div>
                                <div class="com-item-title">{{ $deputy['name'] }}</div>
                            </div>
                        </div>
                    @endforeach
                    <div class="partner-logo col-lg-2">
                        <div class="com-item case">
                            <div class="com-item-border" style="height: 111px;line-height: 111px;vertical-align: middle">
                                <img src="{{ asset('image/more.png') }}" alt="" style="margin-top: 20px">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
@endsection

